﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AdminUserList.aspx.cs" Inherits="BalanceCenter_AdminUserList" %>

<%@ Register TagPrefix="ShoveWebUI" Namespace="Shove.Web.UI" Assembly="Shove.Web.UI.2 For.NET 2.0" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>山顶软件 - 会员中心</title>
    <link href="../Style/css.css" rel="stylesheet" type="text/css" />
    <link href="../Style/main.css" rel="stylesheet" type="text/css" />
</head>
<body style="margin-left: 0; margin-top: 0; margin-right: 0; margin-bottom: 0;">
    <form id="form1" runat="server">
    <table id="Table1" cellspacing="0" cellpadding="1" width="99%" border="0" align="center">
        <tr>
            <td colspan="3">
                <table>
                    <tr>
                        <td align="right" style="height: 25px;" width="60px">
                            会员搜索：
                        </td>
                        <td align="left" valign="top" style="height: 25px; width: 360px;">
                            <asp:TextBox ID="tbSerch" runat="server" MaxLength="20"></asp:TextBox>
                            <asp:Button ID="btnSerch" runat="server" Text=" 查找 " OnClick="btnSerch_Click" />
                            <asp:Button ID="btnSerchAll" runat="server" OnClick="btnSerchAll_Click" Text="查找所有" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td align="center" colspan="3">
                <asp:DataGrid ID="g" runat="server" BackColor="#6CA4E4" CellPadding="5" Width="1200px"
                    CellSpacing="1" BorderWidth="0px" AllowSorting="True" AutoGenerateColumns="False"
                    AllowPaging="True" CssClass="gStyle" OnItemDataBound="g_ItemDataBound">
                    <FooterStyle HorizontalAlign="Center" ForeColor="#330099" BackColor="#FFFFCC"></FooterStyle>
                    <SelectedItemStyle HorizontalAlign="Center" Font-Bold="True" ForeColor="White"></SelectedItemStyle>
                    <HeaderStyle HorizontalAlign="Center" ForeColor="Navy" VerticalAlign="Middle" CssClass="gHeader">
                    </HeaderStyle>
                    <ItemStyle CssClass="gItem" BackColor="White" />
                    <Columns>
                        <asp:HyperLinkColumn DataNavigateUrlField="id" DataNavigateUrlFormatString="AdminUserEdit.aspx?id={0}"
                            DataTextField="Name" HeaderText="用户名"></asp:HyperLinkColumn>
                        <asp:BoundColumn DataField="RealityName" HeaderText="真实姓名"></asp:BoundColumn>
                        <asp:BoundColumn DataField="Sex" HeaderText="性别"></asp:BoundColumn>
                        <asp:BoundColumn DataField="IDCardNumber" HeaderText="身份证" Visible="false"></asp:BoundColumn>
                        <asp:BoundColumn DataField="Address" HeaderText="地址" Visible="false"></asp:BoundColumn>
                        <asp:BoundColumn DataField="Email" HeaderText="邮箱" Visible="false"></asp:BoundColumn>
                        <asp:BoundColumn DataField="QQ" HeaderText="QQ" Visible="false"></asp:BoundColumn>
                        <asp:BoundColumn DataField="Telephone" HeaderText="电话" Visible="false"></asp:BoundColumn>
                        <asp:BoundColumn DataField="Mobile" HeaderText="手机"></asp:BoundColumn>
                        <asp:BoundColumn HeaderText="类别"></asp:BoundColumn>
                        <asp:BoundColumn DataField="RegisterTime" HeaderText="注册时间"></asp:BoundColumn>
                        <asp:BoundColumn DataField="LastLoginTime" HeaderText="登录时间" Visible="false"></asp:BoundColumn>
                        <asp:BoundColumn DataField="LastLoginIP" HeaderText="登录IP" Visible="false"></asp:BoundColumn>
                        <asp:BoundColumn DataField="LoginNum" HeaderText="次数" Visible="false"></asp:BoundColumn>
                        <asp:TemplateColumn HeaderText="代理商">
                            <ItemTemplate>
                                <asp:CheckBox ID="cbSurrogate" runat="server" Enabled="False"></asp:CheckBox>
                            </ItemTemplate>
                        </asp:TemplateColumn>
                        <asp:BoundColumn DataField="Balance" SortExpression="Balance" HeaderText="奖金余额"></asp:BoundColumn>
                        <asp:BoundColumn DataField="VirtualMoney" SortExpression="VirtualMoney" HeaderText="电子货币余额">
                        </asp:BoundColumn>
                        <asp:BoundColumn DataField="BankCardNumber" SortExpression="BankCardNumber" HeaderText="银行卡号">
                        </asp:BoundColumn>
                        <asp:BoundColumn Visible="False" DataField="id"></asp:BoundColumn>
                        <asp:BoundColumn Visible="False" DataField="isSurrogate"></asp:BoundColumn>
                        <asp:BoundColumn Visible="False" DataField="UserType"></asp:BoundColumn>
                        <asp:BoundColumn DataField="ParentName" HeaderText="上级会员编号"></asp:BoundColumn>
                        <asp:BoundColumn DataField="ParentRealityName" HeaderText="上级会员姓名"></asp:BoundColumn>
                    </Columns>
                    <PagerStyle Visible="False" HorizontalAlign="Center" ForeColor="#330099" BackColor="#FFFFCC">
                        </PagerStyle>
                    </asp:DataGrid>
                    <ShoveWebUI:ShoveGridPager ID="gPager" BorderWidth="0" CssClass="gStyle" BorderStyle="None"
                        runat="server" Width="100%" ShowSelectColumn="False" DataGrid="g" OnPageWillChange="gPager_PageWillChange"
                        OnSortBefore="gPager_SortBefore" AlternatingRowColor="White" HotColor="White"
                        GuiseColor="False" ClientNavigation="true" PageSize="10" />
                <br>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
